// import types from '@/store/types'

const pageGetters = {
//   [types.getPageIndexById]: (state) => (id) => {
//     return state.project.pages.findIndex(page => page.id === id)
//   },

//   [types.getPageById]: (state, getters) => (id) => {
//     let pageIndex = getters.getPageIndexById(id)
//     return state.project.pages[pageIndex]
//   },
    element(state){
        return state.element
    }
    
}
export default pageGetters
